package org.mixed.core.event;

import lombok.Getter;
import org.mixed.core.domain.Constants;
import org.mixed.core.domain.MixNotify;

@Getter
public class NotifyEvent extends MixEvent {

	private final String id;

	public NotifyEvent(MixNotify notify) {
		super(notify.getType(), notify.getAction(), Constants.EVENT_SOURCE_NOTIFY);
		this.id = notify.getId();
	}
}
